Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(v2): add disableVersioning config to docs plugin #2989

Merged
merged 4 commits into from
Jul 1, 2020

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Jun 24, 2020

Motivation

Main usecase is to speed up the dev experience on large versioned sites when you only care about next version.

Some additional usecases could use that feature later. (for example, it could be great to support a feature enabling the user to "archive" the last site version as a standalone unversioned site, but that's for another PR)

Also solves #2988

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

tests

@slorber slorber requested a review from yangshun as a code owner June 24, 2020 17:28
@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Jun 24, 2020
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jun 24, 2020
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Jun 24, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 1b98633

https://deploy-preview-2989--docusaurus-2.netlify.app

@slorber slorber linked an issue Jun 24, 2020 that may be closed by this pull request
slorber added 2 commits July 1, 2020 18:48
# Conflicts:
#	packages/docusaurus-plugin-content-docs/src/index.ts
#	packages/docusaurus-plugin-content-docs/src/types.ts
#	website/docs/using-plugins.md
@slorber slorber merged commit a5b2b60 into master Jul 1, 2020
@yangshun yangshun deleted the slorber/explicit-versioning-switch branch July 26, 2020 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to compile a "versionless" site when using docusaurus start
3 participants